package ttsolver.enums;

import java.io.File;

public enum FileName {
	INPUT("RAS DATA SET "),
	OUTPUT("OUTPUT "),
	MODELO("modelo-TTS"),
	SOLUTION_XML("TTS-solution"),
	APP_LOG("TTSolverLog"),
	OPTLP_LOG("CPLEX_TTSolver");
	
	public static String filePath;
	private String name;
	
	private FileName(String name){
		this.name = name;
	}
	
	public String getName(){ return this.name; }
	
	public String getFilePath(){ return (FileName.filePath == null)? "." : FileName.filePath; }
	
	public String getCompletePath(){ return getFilePath() + File.separator + this.name; }
	
	public void setFilePath(String fPath){
		FileName.filePath = fPath;
	}
}
